package com.weng.sso.core.constants;

/*
 *  登陆类型枚举
 * @author wengzhonghui
 * @date 14:39 2019/4/15
 */
public enum LoginTypeEnum {

    LOGIN_COOKIE("cookie","基于session的方式登陆"),
    LOGIN_TOKEN("token","基于token的方式登陆");


    private String code;
    private String name;

    LoginTypeEnum(String code, String name){
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
